/*
 * $Header: /opt/javacvs/bk/src/main/java/com/uusee/framework/util/query/QueryReturnObject.java,v 1.1 2009/04/02 10:08:52 wangrui Exp $
 * $Revision: 1.1 $
 * $Date: 2009/04/02 10:08:52 $
 * ============================================================================
 *
 * Copyright (c) 2007 Beijing uusee Tech CO.,  All rights reserved.
 *
 * ============================================================================
 */
package com.uusee.framework.util.query;

import java.util.List;

import com.uusee.framework.util.page.PageInfo;

/**
 * 
 * @author wangrui
 * 
 */
public class QueryReturnObject<T> {
	private PageInfo pageInfo;
	private List<T> results;
	private boolean emptyReturn = true;

	public PageInfo getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo pageInfo) {
		this.pageInfo = pageInfo;
	}

	public List<T> getResults() {
		return results;
	}

	public void setResults(List<T> results) {
		this.results = results;
	}

	public boolean isEmptyReturn() {
		return emptyReturn;
	}

	public void setEmptyReturn(boolean emptyReturn) {
		this.emptyReturn = emptyReturn;
	}
}
